<br><l
<form action="<?php echo $this->url(array('action'=>'update')); ?>" method="post">
    <table cellpadding="0" cellspacing="0">
        <tr><td>Product name*:</td><td><input type="text" name="name" value="<?php echo $this->productList->name;?>"></td></tr>
        <tr><td>Product size:</td><td><input type="text" name="size" value="<?php echo $this->productList->size;?>"></td></tr>
        <tr><td>Detail:</td><td><textarea name="detail" cols="40" rows="5"></textarea></td></tr>
        <tr><td>Producer*:</td><td><select name="producer_id">
                    <?php foreach ($this->producerList as $producer) : ?>
                    <option value="<?php echo $this->escape($producer->id); ?>"><?php echo $this->escape($producer->name); ?></option>
                    <?php endforeach; ?>
        </select></td></tr>
        <tr><td>Price*:</td><td><input type="text" name="price" value="<?php echo $this->productList->price;?>"></td></tr>
        <tr><td>Quantity*:</td><td><input type="text" name="quantity" value="<?php echo $this->productList->quantity;?>"></td></tr>
        <tr><td>Category*:</td><td><select name="category_id">
                    <?php foreach ($this->cateList as $cate) : ?>
                    <option value="<?php echo $this->escape($cate->id); ?>"><?php echo $this->escape($cate->name); ?></option>
                    <?php endforeach; ?>
        </select></td></tr>
        <tr><td>Warranty*:</td><td><input type="text" name="warranty" value="<?php echo $this->productList->warranty;?>"></td></tr>
        <tr><td>Url*:</td><td><input type="text" name="url" value="<?php echo $this->productList->url;?>"></td></tr>
    </table>
    <input type="submit" value="Edit product">
    <input type="reset" value="Reset">
</form>